package com.mls.fivedistrict.dao;

import com.mls.fivedistrict.pojo.RoleMenu;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 角色菜单列表 Mapper 接口
 * </p>
 *
 * @author Five Team
 * @since 2018-06-14
 */
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    boolean insertBatch(List<RoleMenu> roleMenuList);
    List<RoleMenu> getListByRoleId(Long roleId);
    boolean deleteAllByRoleId(Long roleId);
}
